<?php
require_once 'BaseController.php';

/**
 * こだわり特集一覧<br />
 *
 * @package    apamanshop
 * @author     SS笹川
 * @copyright  コピーライト(要確認)
 */
class Search_KodawariController extends Search_BaseController
{

	public function indexAction()
	{
		// 検索区分
		$this->setSearchKbn(Apm_Config_Search::SRHKBN_KODAWARI, "kodawari");
		
		//CSSの定義（デザイン）
		$this->addMetaCss('/css/kodawari/kodawari_layout.css',array('type' => 'text/css','media' => 'all'));
		//$this->addMetaCss('/css/kodawari/kodawari.css',array('type' => 'text/css','media' => 'all'));
		//JSの定義
		$this->addMetaJs('/shared/js/heightLine.js');
		
		$this->_data['srhkbn_kodawari'] = Apm_Config_Search::SRHKBN_KODAWARI;
				
		$this->_noLeftPanel = true;
		$this->_main_helper = $this->_kodawari_list_helper;
		
		$kodawari_popkodawari_helper = $this->_kodawari_popkodawari_helper;
		$this->_data['popKodawari_block'] = $kodawari_popkodawari_helper->getBlock($this->_data);
		
		//$this->_data['seo_kodawari'] = array();
		Apm_Seo::generateKodawariJyokenBlock(&$this->_data);
		$kodawari_joken_helper = $this->_kodawari_jokenlist_helper;
		$this->_data['kodawariJoken_block'] = $kodawari_joken_helper->getBlock($this->_data);
		
		$this->_display_path = APPLICATION_PATH . '/modules/search/views/scripts/kodawari.tpl';
		$this->setMainTemplate('cms_kodawari.tpl');

	}
}

?>